<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
hello <#--${name}
${student.name}-->
    <br>
<#--
<#list students as stu>
    ${stu.name}
</#list>
-->

<br>
list数据
<table>
    <tr>
         <td>序号</td>    
            <td>姓名</td>
            <td>年龄</td>
            <td>钱</td>
        </tr>
        <#list stus as stu>
            <tr>
            <td>${stu_index}</td>
            <td>${stu.name}</td>
            <td>${stu.age}</td>
            <td>${stu.money}</td>
        </tr>
        </#list>
</table>
<br>
map数据
<table>
        <tr>
             <td>序号</td>    
                <td>姓名</td>
                <td>年龄</td>
                <td>钱包</td>
            </tr>
        <#list hashmap?keys as stu>
            <tr>
            <td>${stu_index}</td>
                <td>${hashmap[stu].name}</td>
                <td>${hashmap[stu].age}</td>
                <td>${hashmap[stu].money}</td>
        </tr>
        </#list>
</table>
单个数据判断是否存在
<br>
<table>
        <tr>
             <td>序号</td>    
                <td>姓名</td>
                <td>年龄</td>
                <td>钱</td>
            </tr>
        <#if stu1??>
            <tr>
            <td></td>
                <td>${stu1.name}</td>
                <td>${stu1.age}</td>
                <td>${stu1.money}</td>
        </tr>
        </#if>
</table>
<br>
</body>
</html>